package com.bookcode.entity;

import lombok.Data;

import javax.persistence.*;
@Table(name = "t_student")
@Entity
@Data
public class Student extends BaseEntity{

    /* 学生姓名 */
    @Column
    private String name;
/*
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
*/
    //可以建立与Course关联
}
